package com.itheima.socket.tcp.demo13;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class ServerDemo13 {

    public static void main(String[] args) throws IOException {

        ServerSocket serverSocket = new ServerSocket(8282);

        while (true) {
            Socket socket = serverSocket.accept();

            new Thread(new ClientHandler(socket)).start();
        }
    }
}
